package org.jeecg.modules.bl.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.bl.entity.BlExpenses;
import org.jeecg.modules.bl.vo.BlReceiFeeCountVo;
import org.jeecg.modules.bl.vo.ChgFeeItemVo;
import org.jeecg.modules.bl.vo.RecordMEArrearVo;

import java.util.List;

/**
 * @Description: 计费清单
 * @Author: jeecg-boot
 * @Date:   2022-02-13
 * @Version: V1.0
 */
public interface BlExpensesMapper extends BaseMapper<BlExpenses> {

    /***
     * 查询 抄表、计量、计费、欠费ID
     * @param recordId
     * @return
     */
    List<RecordMEArrearVo>queryRecordMEArrear(@Param("recordId") String recordId);

    /**水费账单-计费清单*/
    List<ChgFeeItemVo>queryFeeBill(@Param("cusIds") List<String>cusIds
            ,@Param("beginTime") String beginTime,@Param("endTime") String endTime);

    /**应收统计*/
    List<BlReceiFeeCountVo>receivableFeeCount(@Param("financialMonth") String financialMonth);
}
